package io.plus.common.packet.group;

import io.plus.common.packet.User;
import io.plus.common.packet.metadata.RequestMessage;
import lombok.Data;

/**
 * 进入群组通知消息体
 */
@Data
public class JoinGroupNotifyRequestMessage extends RequestMessage {

    private static final long serialVersionUID = 3828976681110713803L;
    private User user;
    private String group;


    public JoinGroupNotifyRequestMessage setGroup(String group) {
        this.group = group;
        return this;
    }

    public JoinGroupNotifyRequestMessage setUser(User user) {
        this.user = user;
        return this;
    }
}
